#include <stdio.h>

struct _birth
{
    int year;
    int month;
    int day;
};

typedef struct _stu
{
    char name[1024];
    int num;
    char sex;
    float score;
//    struct _birth birth - > int birth;
    struct _birth birth;
//    struct _birth
//    {
//        int year;
//        int month;
//        int day;
//    }birth;

}Stu;

int main()
{
    Stu s ={"wangwu",1005,'f',99,{1999,9,9}};
    printf("name = %s\n",s.name);
    printf("year = %d\n",s.birth.year);
    printf("month = %d\n",s.birth.month);

    return 0;
}
